Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

fix(docker): remove high uid in docker image and migrate to sf CLI v2 #1380

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

rody
Copy link
Contributor

@rody rody commented Aug 8, 2023

This docker file uses the official node image instead of the sfdx image. This should fix the issue with high uid encountered in some CI/CD setups.
SFDX and SF v1 have been replaced with SF v2.

fix #1307

Summary generated by Reviewpad on 09 Aug 23 06:07 UTC

This pull request removes the high uid issue in the docker image and migrates to the sf CLI version 2. It replaces the use of SFDX and SF v1 with SF v2. The changes include switching from the salesforce/salesforcedx image to the node:18-bookworm image, updating dependencies, and installing the necessary packages. Additionally, the labels, environment variables, and entrypoint are modified.

Checklist

All items have to be completed before a PR is merged

  • Adhere to Contribution Guidelines
  • Updates to Decision Records considered?
  • Updates to documentation at DX@Scale Guide considered?
  • Tested changes?
  • Unit Tests new and existing passing locally?

This docker file uses the official node image instead of the sfdx
image. This should fix the issue with high uid encountered in some
CI/CD setups.
SFDX and SF v1 have been replaced with SF v2.
@reviewpad reviewpad bot requested a review from azlam-abdulsalam August 8, 2023 13:40
@reviewpad
Copy link

reviewpad bot commented Aug 8, 2023

Thank you @rody for this first contribution!

@reviewpad reviewpad bot added medium Pull request is medium waiting-for-review labels Aug 8, 2023
@reviewpad
Copy link

reviewpad bot commented Aug 8, 2023

Reviewpad Report

‼️ Errors

  • Unconventional commit detected: 'remove high uid in docker image and migrate to sf CLI v2

This docker file uses the official node image instead of the sfdx
image. This should fix the issue with high uid encountered in some
CI/CD setups.
SFDX and SF v1 have been replaced with SF v2.' (1d0d8e9)

  • Unconventional commit detected: 'Merge branch 'main' into bugfix/use_lower_uid_in_dockerfiles' (9255bfb)
  • Unconventional commit detected: 'Merge branch 'main' into bugfix/use_lower_uid_in_dockerfiles' (c07bf5e)

⚠️ Warnings

  • Please rebase your pull request on the latest changes

@rody rody changed the title remove high uid in docker image and migrate to sf CLI v2 fix(docker): remove high uid in docker image and migrate to sf CLI v2 Aug 8, 2023
Copy link
Contributor

@azlam-abdulsalam azlam-abdulsalam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okie

@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (3ead60e) 46.91% compared to head (d42a833) 46.91%.

❗ Current head d42a833 differs from pull request most recent head c07bf5e. Consider uploading reports for the commit c07bf5e to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1380   +/-   ##
=======================================
  Coverage   46.91%   46.91%           
=======================================
  Files          70       70           
  Lines        2656     2656           
  Branches      309      309           
=======================================
  Hits         1246     1246           
  Misses       1381     1381           
  Partials       29       29           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@azlam-abdulsalam azlam-abdulsalam merged commit 81ccf2f into main Aug 9, 2023
@azlam-abdulsalam azlam-abdulsalam deleted the bugfix/use_lower_uid_in_dockerfiles branch August 9, 2023 06:10
azlam-abdulsalam added a commit that referenced this pull request Aug 11, 2023
…#1380)

remove high uid in docker image and migrate to sf CLI v2

This docker file uses the official node image instead of the sfdx
image. This should fix the issue with high uid encountered in some
CI/CD setups.
SFDX and SF v1 have been replaced with SF v2.

Co-authored-by: Azlam <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
medium Pull request is medium waiting-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker image problem on circleCI
2 participants